import React from 'react';
import { Input } from 'antd';

const UserModal = (props) => {
  return (
    <div className='user-modal-wrapper'>
      <Input placeholder='用户名' value={ props.userName } onChange={ props.handleChangeUserName } />
      <br /><br />
      <Input placeholder='密码' value={ props.password } onChange={ props.handleChangePassword } type='password' />
    </div>
  );
}

export default UserModal;